﻿using Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repository
{
	public interface IRolesRepository
	{
		RolesFenYe RolesData(int page, int pageSize);

		Task<bool> RolesAdd(Roles roles);

		Task<bool> RolesDelete(int id);
		Task<List<Roles>> GetRoles();
		Task<Roles> GetRolesById(int uid);
		Task<bool> RolesUpDate(Roles roles);
	}
}
